<!DOCTYPE html>
<html lang="zh-CN">

    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="renderer" content="webkit">
        <title>JYCMS后台管理系统</title>
        <link href="__STATIC__/zui/css/zui.min.css" rel="stylesheet">
        <!-- core - css -->
        <link href="__STATIC__/zui/themes/css/style.css" rel="stylesheet">
        <link href="__STATIC__/zui/themes/green/core.css" id="zui-link-theme" rel="stylesheet">
        <!-- plug - css -->
        <link href="__CSS__/style.css" rel="stylesheet"></head>

    <body style="overflow: hidden;margin:0;padding:0;">
        <!--[if lte IE 7]>
            <div id="errorie">
                <div>您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本
                    <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>&nbsp;&nbsp;强烈建议您更改换浏览器：
                    <a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a></div>
            </div>
        <![endif]-->
        <div id="zui-window">
            <header id="zui-header">
                <div class="zui-navbar-header">
                    <button type="button" class="zui-navbar-toggle btn-default" data-toggle="collapse" data-target="#zui-navbar-collapse">
                        <i class="icon icon-bars"></i>
                    </button>
                    <span class="zui-navbar-logo">JYCMS管理系统</span></div>
                <nav id="zui-navbar-collapse">
                    <ul class="zui-navbar-right">
                        <li>
                            <a href="#">消息<span class="badge">4</span></a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户<span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="changepwd.html" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="400" data-height="260">&nbsp;<span class="icon icon-lock"></span>修改密码&nbsp;</a></li>
                                <li><a href="#">&nbsp;<span class="icon icon-user"></span>我的资料</a></li>
                                <li class="divider"></li>
                                <li><a href="{:url('Index/logout')}" class="red">&nbsp;<span class="icon icon-off"></span>注销登陆</a></li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle theme green" data-toggle="dropdown" title="切换皮肤">
                                <i class="icon icon-flag"></i>
                            </a>
                            <ul class="dropdown-menu" role="menu" id="zui-themes">
                                <li>
                                    <a href="javascript:;" class="theme_default" data-toggle="theme" data-theme="default">&nbsp;
                                        <i class="icon icon-flag"></i>黑白分明&nbsp;&nbsp;</a></li>
                                <li>
                                    <a href="javascript:;" class="theme_orange" data-toggle="theme" data-theme="orange">&nbsp;
                                        <i class="icon icon-flag"></i>橘子红了</a></li>
                                <li>
                                    <a href="javascript:;" class="theme_purple" data-toggle="theme" data-theme="purple">&nbsp;
                                        <i class="icon icon-flag"></i>紫罗兰</a></li>
                                <li class="active">
                                    <a href="javascript:;" class="theme_blue" data-toggle="theme" data-theme="blue">&nbsp;
                                        <i class="icon icon-flag"></i>天空蓝</a></li>
                                <li>
                                    <a href="javascript:;" class="theme_green" data-toggle="theme" data-theme="green">&nbsp;
                                        <i class="icon icon-flag"></i>绿草如茵</a></li>
                                <li>
                                    <a href="javascript:;" class="theme_red" data-toggle="theme" data-theme="red">&nbsp;
                                        <i class="icon icon-flag"></i>红红火火</a></li>
                            </ul>
                        </li>
                    </ul>
                </nav>
                <div id="zui-hnav">
                    <button type="button" class="btn-default zui-hnav-more-left" title="导航菜单左移">
                        <i class="icon icon-double-angle-left"></i>
                    </button>
                    <div id="zui-hnav-navbar-box">
                        <ul id="zui-hnav-navbar">
                            <foreach name="__MENU__" key="mkey" item="menu">
                                <li>
                                    <a href="javascript:;" data-toggle="slidebar">
                                        <if condition="$menu[icon]"><i class="icon icon-{$menu.icon}"></i></if>
                                        {$menu.title}
                                    </a>
                                    <div class="items hide" data-noinit="true">
                                    <ul class="menu-items" data-icon="hand-o-up">
                                        <volist name="menu[sub]" id="sub">
                                        <li>
                                            <a href="{$sub.url|url}" data-options="{id:'main-{$sub.id}', icon:'{$sub.icon|default='bars'}'}">
                                                {$sub.title}
                                            </a>
                                            <if condition="$sub[sub]">
                                            <b><i class="icon icon-angle-down"></i></b>
                                            <ul class="menu-items-children">
                                                <volist name="sub[sub]" id="thr">
                                                <li><a href="{$thr.url|url}" data-options="{id:'thr-{$thr.id}', icon:'{$thr.icon}'}">{$thr.title}</a></li>
                                                </volist>
                                            </ul>
                                            </if>
                                        </li>
                                        </volist>
                                    </ul>
                                    </div>
                                </li>
                            </foreach>
                    <li><a href="javascript:;" data-toggle="slidebar"><i class="icon icon-check-square-o"></i> JS示例</a>
                        <div class="items hide" data-noinit="true">
                            <ul id="zui-hnav-tree-form" class="ztree ztree_main" data-toggle="ztree" data-on-click="MainMenuClick" data-expend-all="true" data-icon="checked">
                                <li data-id="form" data-pid="submenu_0">表单</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form-button.html" data-tabid="form-button">按钮</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form-input.html" data-tabid="form-input">文本框</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form-select.html" data-tabid="form-select">下拉选择框(chosen)</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form-select_1.html" data-tabid="form-select">下拉选择框(selectpicker)</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form-checkbox.html" data-tabid="form-checkbox">复选、单选框</li>
                                <li data-pid="form" data-url="__STATIC__/zui/demo/form.html" data-tabid="form-demo">表单示例</li>

                                <li data-id="table" data-pid="submenu_0">表格</li>
                                    <li data-id="normal-table" data-pid="table">普通表格</li>
                                        <li data-pid="normal-table" data-url="__STATIC__/zui/demo/table.html" data-tabid="table">普通表格</li>
                                        <li data-pid="normal-table" data-url="__STATIC__/zui/demo/table-fixed.html" data-tabid="table-fixed">固定表头表格</li>
                                        <li data-pid="normal-table" data-url="__STATIC__/zui/demo/table-edit.html" data-tabid="table-edit">可编辑表格</li>

                                    <li data-id="js-table" data-pid="table">数据表格</li>
                                        <li data-pid="js-table" data-url="__STATIC__/zui/demo/datagrid-convertable.html" data-tabid="datagrid-convertable">转换普通表格</li>
                                        <li data-pid="js-table" data-url="__STATIC__/zui/demo/datagrid-demo.html" data-tabid="datagrid-demo">完整示例</li>
                                        <li data-pid="js-table" data-url="__STATIC__/zui/demo/datagrid-datatype.html" data-tabid="datagrid-datatype">三种数据类型</li>

                                    <li data-id="grid" data-pid="table">数据表格2</li>
	                                    <li data-id="grid-basic" data-pid="grid">基本功能</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/grid.html" data-tabid="grid-demo">普通表格</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/toolbar.html" data-tabid="grid-search">工具条</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/frozengrid.html" data-tabid="grid-frozen">固定列</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/treefrozengrid.html" data-tabid="grid-treefrozen">兼容树</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/mulheaders.html" data-tabid="grid-mulheaders">多表头</li>
											<li data-pid="grid-basic" data-url="__STATIC__/zui/demo/grid/detail.html" data-tabid="grid-detail">详情</li>
	                                    <li data-id="grid-sum" data-pid="grid">汇总</li>
											<li data-pid="grid-sum" data-url="__STATIC__/zui/demo/grid/totalgrid.html" data-tabid="sum-total">汇总</li>
											<li data-pid="grid-sum" data-url="__STATIC__/zui/demo/grid/totalgrid2.html" data-tabid="sum-total2">汇总</li>
											<li data-pid="grid-sum" data-url="__STATIC__/zui/demo/grid/totalgroup.html" data-tabid="sum-group">分组汇总</li>

                                <li data-id="dialog" data-pid="submenu_0">弹窗</li>
                                    <li data-pid="dialog" data-url="__STATIC__/zui/demo/dialog.html" data-tabid="dialog">弹出窗口</li>
                                    <li data-pid="dialog" data-url="__STATIC__/zui/demo/alert.html" data-tabid="alert">信息提示</li>

                                <li data-id="chart" data-pid="submenu_0">图表</li>
                                    <li data-pid="chart" data-url="__STATIC__/zui/demo/highcharts.html" data-tabid="chart" data-icon="image">Highcharts图表</li>
                                    <li data-pid="chart" data-url="__STATIC__/zui/demo/echarts.html" data-tabid="echarts" data-icon="image">ECharts图表</li>

                                <li data-id="other" data-pid="submenu_0">其它</li>
                                    <li data-pid="other" data-url="__STATIC__/zui/demo/tabs.html" data-tabid="tabs" data-icon="columns">选项卡</li>
                                    <li data-pid="other" data-url="__STATIC__/zui/demo/ztree.html" data-tabid="ztree" data-icon="tree">zTree</li>
                                    <li data-pid="other" data-url="__STATIC__/zui/demo/ztree-select.html" data-tabid="ztree-select" data-icon="caret-square-o-down">zTree下拉选择</li>
                                    <li data-pid="other" data-url="__STATIC__/zui/demo/table-layout.html" data-tabid="table-layout" data-icon="refresh">局部刷新1</li>

                                <li data-id="doc" data-pid="submenu_0">文档</li>
                                    <li data-id="intro" data-pid="doc">框架介绍</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/filelist.html" data-tabid="doc-file" data-icon="caret-right">文件详解</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/structure.html" data-tabid="doc-structure" data-icon="caret-right">页面结构</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/init.html" data-tabid="doc-init" data-icon="caret-right">框架初始化</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/hnav.html" data-tabid="doc-hnav" data-icon="caret-right">横向导航菜单</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/navtab.html" data-tabid="doc-navtab" data-icon="caret-right">标签工作区(navtab)</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/dialog.html" data-tabid="doc-dialog" data-icon="caret-right">弹窗工作区(dialog)</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/idname.html" data-tabid="doc-idname" data-icon="caret-right">元素ID命名规范</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/data.html" data-tabid="doc-data" data-icon="caret-right">data属性</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/api.html" data-tabid="doc-api" data-icon="caret-right">jQuery API调用</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/event.html" data-tabid="doc-event" data-icon="caret-right">事件</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/base/url.html" data-tabid="doc-url" data-icon="caret-right">URL动态赋值</li>
                                        <li data-pid="intro" data-url="__STATIC__/zui/demo/doc/theme/color.html" data-tabid="doc-theme" data-icon="caret-right">颜色值</li>

                                    <li data-id="component" data-pid="doc">框架组件</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/navtab/navtab.html" data-tabid="doc-navtab" data-icon="caret-right">标签navtab</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/navtab/navtab-op.html" data-tabid="doc-navtab" data-icon="caret-right">navtab参数</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/dialog/dialog.html" data-tabid="doc-dialog" data-icon="caret-right">弹窗dialog</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/dialog/dialog-op.html" data-tabid="doc-dialog" data-icon="caret-right">dialog参数</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/alertmsg/alertmsg.html" data-tabid="doc-alertmsg" data-icon="caret-right">信息提示alertmsg</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/form/datepicker.html" data-tabid="doc-datepicker" data-icon="caret-right">日期选择器</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/form/spinner.html" data-tabid="doc-spinner" data-icon="caret-right">微调器</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/form/lookup.html" data-tabid="doc-lookup" data-icon="caret-right">查找带回</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/form/tags.html" data-tabid="doc-tags" data-icon="caret-right">自动完成标签</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/form/upload.html" data-tabid="doc-upload" data-icon="caret-right">Ajax上传组件</li>
                                        <li data-pid="component" data-url="__STATIC__/zui/demo/doc/other/contextmenu.html" data-tabid="doc-contextmenu" data-icon="caret-right">右键菜单</li>

                                    <li data-id="ajax" data-pid="doc">AJAX</li>
                                        <li data-pid="ajax" data-url="__STATIC__/zui/demo/doc/ajax/callback.html" data-tabid="doc-callback" data-icon="caret-right">回调函数</li>
                                        <li data-pid="ajax" data-url="__STATIC__/zui/demo/doc/ajax/form.html" data-tabid="doc-form-submit" data-icon="caret-right">提交表单</li>
                                        <li data-pid="ajax" data-url="__STATIC__/zui/demo/doc/ajax/search.html" data-tabid="doc-search" data-icon="caret-right">搜索表单</li>
                                        <li data-pid="ajax" data-url="__STATIC__/zui/demo/doc/ajax/load.html" data-tabid="doc-load" data-icon="caret-right">加载(局部刷新)</li>
                                        <li data-pid="ajax" data-url="__STATIC__/zui/demo/doc/ajax/action.html" data-tabid="doc-action" data-icon="caret-right">执行动作</li>

                                    <li data-id="about-table" data-pid="doc">表格相关</li>
                                        <li data-id="about-normal-table" data-pid="about-table">普通表格</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/style.html" data-tabid="doc-table-style" data-icon="caret-right">表格样式</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/order.html" data-tabid="doc-table-order" data-icon="caret-right">字段排序</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/paging.html" data-tabid="doc-table-paging" data-icon="caret-right">分页组件</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/selected.html" data-tabid="doc-table-selected" data-icon="caret-right">行选中操作</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/fixed.html" data-tabid="doc-table-fixed" data-icon="caret-right">固定表头</li>
                                            <li data-pid="about-normal-table" data-url="__STATIC__/zui/demo/doc/table/edit.html" data-tabid="doc-table-edit" data-icon="caret-right">可编辑表格</li>

                                        <li data-id="about-datagrid" data-pid="about-table">数据表格</li>
                                            <li data-pid="about-datagrid" data-url="__STATIC__/zui/demo/doc/datagrid/datagrid-demo.html" data-tabid="doc-datagrid-demo" data-icon="caret-right">datagrid示例</li>
                                            <li data-pid="about-datagrid" data-url="__STATIC__/zui/demo/doc/datagrid/datagrid-op.html" data-tabid="doc-datagrid-op" data-icon="caret-right">datagrid参数</li>
                                            <li data-pid="about-datagrid" data-url="__STATIC__/zui/demo/doc/datagrid/datagrid-columns.html" data-tabid="doc-datagrid-columns" data-icon="caret-right">columns参数</li>

                                        <li data-id="about-grid" data-pid="about-table">数据表格2</li>
                                            <li data-pid="about-grid" data-url="__STATIC__/zui/demo/doc/grid/index.html" data-tabid="doc-grid-index" data-icon="caret-right">示例</li>
                                            <li data-pid="about-grid" data-url="__STATIC__/zui/demo/doc/grid/event.html" data-tabid="doc-grid-event" data-icon="caret-right">事件列表</li>
                                            <li data-pid="about-grid" data-url="__STATIC__/zui/demo/doc/grid/method.html" data-tabid="doc-grid-method" data-icon="caret-right">方法列表</li>
                                            <li data-pid="about-grid" data-url="__STATIC__/zui/demo/doc/grid/param.html" data-tabid="doc-grid-param" data-icon="caret-right">参数列表</li>

                                    <li data-id="charts" data-pid="doc">图形报表</li>
                                        <li data-pid="charts" data-url="__STATIC__/zui/demo/doc/chart/highcharts.html" data-tabid="doc-highcharts" data-icon="caret-right">Highcharts图表</li>
                                        <li data-pid="charts" data-url="__STATIC__/zui/demo/doc/chart/echarts.html" data-tabid="doc-echarts" data-icon="caret-right">ECharts图表</li>

                                    <li data-id="about-other" data-pid="doc">其它组件</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/ztree.html" data-tabid="doc-ztree" data-icon="caret-right">zTree</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/checkbox.html" data-tabid="doc-icheck" data-icon="caret-right">复选/单选</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/select.html" data-tabid="doc-selectpicker" data-icon="caret-right">下拉选择框</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/validate.html" data-tabid="doc-nicevalidator" data-icon="caret-right">表单验证</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/kindeditor.html" data-tabid="doc-kindeditor" data-icon="caret-right">KindEditor</li>
                                        <li data-pid="about-other" data-url="__STATIC__/zui/demo/doc/plugin/ajaxdownload.html" data-tabid="doc-ajaxdownload" data-icon="caret-right">Ajax Download</li>
                            </ul>
                        </div>
                    </li>
                    <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon icon-cog"></i> 系统设置 <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">角色权限</a></li>
                            <li><a href="#">用户列表</a></li>
                            <li class="divider"></li>
                            <li><a href="#">关于我们</a></li>
                            <li class="divider"></li>
                            <li><a href="#">友情链接</a></li>
                        </ul>
                    </li>


                        </ul>
                    </div>
                    <button type="button" class="btn-default zui-hnav-more-right" title="导航菜单右移">
                        <i class="icon icon-double-angle-right"></i>
                    </button>
                </div>
            </header>
            <div id="zui-container">
                <div id="zui-leftside">
                    <div id="zui-sidebar-s">
                        <div class="collapse"></div>
                    </div>
                    <div id="zui-sidebar">
                        <div class="toggleCollapse">
                            <h2>
                                <i class="icon icon-bars"></i>导航栏
                                <i class="icon icon-bars"></i></h2>
                            <a href="javascript:;" class="lock">
                                <i class="icon icon-lock"></i>
                            </a>
                        </div>
                        <div class="panel-group panel-main" data-toggle="accordion" id="zui-accordionmenu" data-heightbox="#zui-sidebar" data-offsety="26"></div>
                    </div>
                </div>
                <div id="zui-navtab" class="tabsPage">
                    <div class="tabsPageHeader">
                        <div class="tabsPageHeaderContent">
                            <ul class="navtab-tab nav nav-tabs">
                                <li data-url="{:url('main')}">
                                    <a href="javascript:;">
                                        <span>#maintab#</span></a>
                                </li>
                            </ul>
                        </div>
                        <div class="tabsLeft">
                            <i class="icon icon-double-angle-left"></i>
                        </div>
                        <div class="tabsRight">
                            <i class="icon icon-double-angle-right"></i>
                        </div>
                        <div class="tabsMore">
                            <i class="icon icon-double-angle-down"></i>
                        </div>
                    </div>
                    <ul class="tabsMoreList">
                        <li>
                            <a href="javascript:;">#maintab#</a></li>
                    </ul>
                    <div class="navtab-panel tabsPageContent">
                        <div class="navtabPage unitBox">
                            <div class="zui-pageContent" style="background: #FFF;"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>

</html>
<script type="text/javascript">
    var SITEURL = '__ROOT__/';
    var zhpConfig = {
        //基础配置
        baseUrl: '__ROOT__/',
        uploadUrl: "{:url('upload')}",
        deleteUrl: "{:url('delpic')}",
        //自定义配置
        libDir: '__STATIC__/zui/lib/',
        lang: "{:config('LANG_SET')}",
        Module:'{$module}',
        Controller:'{$controller}',
        Action:'{$action}',
    };
</script>
<!--[if lt IE 9]>
    <script type="text/javascript" src="__STATIC__/jquery/jquery-1.12.1.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script type="text/javascript" src="__STATIC__/jquery/jquery-2.2.1.min.js"></script>
<!--<![endif]-->
<script src="__STATIC__/zui/lib/cookie/cookie.js" type="text/javascript"></script>
<script src="__STATIC__/zui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="__STATIC__/zui/js/zui.lite.js" type="text/javascript"></script>
<script src="__STATIC__/zui/do.js" type="text/javascript"></script>
<script src="__STATIC__/zui/config.js" type="text/javascript"></script>
<script type="text/javascript">
    //菜单-事件
    function MainMenuClick(event, treeId, treeNode) {
        event.preventDefault();
        if (treeNode.isParent) {
            var zTree = $.fn.zTree.getZTreeObj(treeId);
			zTree.expandNode(treeNode, !treeNode.open, false, true, true);
			//return;
        }
        if(!treeNode.url) {
            return;
        }
        if (treeNode.target && treeNode.target == 'dialog') {
            $(event.target).dialog({
                id: treeNode.tabid,
                url: treeNode.url,
                title: treeNode.name
            });
        } else {
            $(event.target).navtab({
                id: treeNode.tabid,
                url: treeNode.url,
                title: treeNode.name,
                fresh: treeNode.fresh,
                external: treeNode.iframe?true:false
            });
        }
    }
    $(document).ready(function() {
        if (!$('#zui-window').parent().is('body')) {
            //一个无聊的判断，如果首页被加载到一个HTML标签中那么就重新刷新一下首页了
            top.location = zhpConfig.baseUrl;
        }
        Do.ready('base', 'ztree', 'slidebar', 'scrollbar', function() {
            // main - menu    .css({position: 'relivate', 'overflow': 'hidden'}).perfectScrollbar()
            $('#zui-accordionmenu').collapse().on('hidden.bs.collapse', function(e) {
                $(this).find('> .panel > .panel-heading').each(function() {
                    var $heading = $(this),
                    $a = $heading.find('> h4 > a');
                    if ($a.hasClass('collapsed')) $heading.removeClass('active');
                    if ($a.find('> b > i')) {
                        $a.find('> b > i').removeClass('icon-angle-up').addClass('icon-angle-down').tooltip({
                            title: '展开菜单项',
                            container: 'body'
                        });
                    }
                });
            }).on('shown.bs.collapse', function(e) {
                $(this).find('> .panel > .panel-heading').each(function() {
                    var $heading = $(this),
                    $a = $heading.find('> h4 > a');
                    if (!$a.hasClass('collapsed')) $heading.addClass('active');
                    if ($a.find('> b > i')) {
                        $a.find('> b > i').removeClass('icon-angle-down').addClass('icon-angle-up').tooltip({
                            title: '收起菜单项',
                            container: 'body'
                        });
                    }
                });
            });

            $(document).on('click', 'ul.menu-items > li > a', function(e) {
                var $a = $(this),
                $li = $a.parent(),
                options = $a.data('options').toObj();
				var onClose = function() {
                    $li.removeClass('active');
                }
                var onSwitch = function() {
                    $('#zui-accordionmenu').find('ul.menu-items > li').removeClass('switch');
					$li.addClass('switch');
                }
                $li.addClass('active');
				if (options) {
                    options.url = $a.attr('href');
					options.onClose = onClose;
					options.onSwitch = onSwitch;
                    if (!options.title) options.title = $a.text().trim();
					if (!options.target) $a.navtab(options);
                    else $a.dialog(options);
                }
                e.preventDefault()
            });
            $('#zui-hnav-navbar').find('a').first().click();
            $.zui.init({
                statusCode: {
                    ok: 1,
                    error: 0,
                },
                //[可选]
                ajaxTimeout: 50000, //[可选]全局Ajax请求超时时间(毫秒)
                ajaxReturn: {
                    root: '{:config('AJAX_RETURN.root')}',
                    total: '{:config('AJAX_RETURN.total')}',
                },
                pageInfo: {
                    pageVar: '{:config('paginate.var_page')}',
                    pageSize: '{:config('paginate.var_pagesize')}',
                    orderField: 'orderField',
                    orderDirection: 'orderDirection'
                },
                //[可选]分页参数
                alertMsg: {
                    displayPosition: 'topcenter',
                    displayMode: 'slide',
                    alertTimeout: 3000
                },
                //[可选]信息提示的显示位置，显隐方式，及[info/correct]方式时自动关闭延时(毫秒)
                keys: {
                    status: 'code',
                    message: 'msg'
                },
                //[可选]
                ui: {
                    windowWidth: 0, //框架可视宽度，0=100%宽，> 600为则居中显示
                    showSlidebar: true, //[可选]左侧导航栏锁定/隐藏
                    clientPaging: true, //[可选]是否在客户端响应分页及排序参数
                    overwriteHomeTab: false //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                },
                debug: true, // [可选]调试模式 [true|false，默认false]
                theme: 'green' // 若有Cookie['zui_theme'],优先选择Cookie['zui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
            });
        });
    });
    function currenttab(){
        return $('body').data('zui.navtab').navtab.getCurrentPanel();
    }
</script>